From: Chong Yidong Date: Fri, 11 Apr 2008 02:31:43 +0000 (+0000) Subject: (woman2-TH): Undo last change. Use string-equal instead of X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~18855^2~255 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=42e1d5879b823083eae5e3da4b8b41e6e6b95394;p=emacs.git (woman2-TH): Undo last change. Use string-equal instead of string-match. --- diff --git a/lisp/woman.el b/lisp/woman.el index 01e4f223656..eca447d07bb 100644 --- a/lisp/woman.el +++ b/lisp/woman.el @@ -3810,8 +3810,7 @@ v alters page foot left; m alters page head center. (insert " -- ") (woman-forward-arg 'unquote 'concat) ;; Delete repeated arguments: - (if (string-match (regexp-quote - (buffer-substring here (point))) + (if (string-equal (buffer-substring here (point)) (buffer-substring start here)) (delete-region here (point))))) ;; Embolden heading (point is at end of heading):